﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ClassGenerator.Lib;

namespace ClassGenerator.UnitTest
{
    [TestClass]
    public class GenerateTextAtRuntimeTest
    {
        [TestMethod]
        public void READ_T4_TEMPLATE_AND_GENERATE_CS_FILE()
        {
            Lib.Templates.PocoTemplate poco = new Lib.Templates.PocoTemplate();
            string pocoFile = poco.TransformText();
            System.IO.File.WriteAllText("C:\\ClassesProjeto\\POCOSample.cs", pocoFile);
        }
    }
}
